package com.base.cn.platform.os.entity.qa.qaattend;

import com.base.cn.platform.os.common.mybatis.BaseEntity;
import com.base.cn.platform.os.entity.qa.question.QaQuestion;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 问答旁听Entity
 * @author LIZHIPENG
 * @since 2018/4/26
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class QaAttend extends BaseEntity {

    /**问题ID*/
    private BigDecimal questionId;
    /**旁听用户ID*/
    private BigDecimal userId;
    /**订单ID*/
    private BigDecimal orderId;
    /**订单号*/
    private String orderNo;
    /**流水ID*/
    private BigDecimal detailsId;
    /**支付类型*/
    private String payType;
    /**旁听价格*/
    private Double price;

    //================= 扩展数据 ==================
    /**旁听学员信息*/
    private Map<String, Object> user;
    /**讲师ID*/
    private BigDecimal teacherId;

    //================= 查询条件 ==================
    /**问题ID串*/
    private String questionIds;
    /**查询条数*/
    private Integer count;
    /**问答对象*/
    private QaQuestion qaQuestion;
}
